#ifndef BOOKOPDIALOG_H
#define BOOKOPDIALOG_H

#include <QDialog>
#include <QGridLayout>
#include <QLabel>
#include <QPushButton>
#include <QString>
#include <QDateTime>

#include "SQLHelper.h"
#include "User.h"

class BookOpDialog : public QDialog
{
public:
    BookOpDialog(User user, QString book_id);
    ~BookOpDialog();

    void init_view_main();

private:
    User user;
    QString book_id;

    QGridLayout *layout_main;   //主布局

    QLabel *label_msg;  //消息

    QPushButton *but_ok;    //确定按钮
    QPushButton *but_no;    //取消按钮
};

#endif // BOOKOPDIALOG_H
